using System;
using CLELCore.Assembly.Descriptors.ClassDescriptors;

namespace CLELCore.Assembly.Descriptors
{
	public class ParameterDescriptor
	{
		private ClassDescriptor _cd;
		private uint _ordinal_number;

		public ClassDescriptor Type
		{
			get
			{
				return _cd;
			}
		}

		public uint OrdinalNumber
		{
			get
			{
				return _ordinal_number;
			}
		}

		public ParameterDescriptor(ClassDescriptor cd,uint ordinal_number)
		{
			if(cd == null)
				throw new ArgumentException("Class Descriptor cannot be null");
			_cd = cd;
			_ordinal_number = ordinal_number;
		}
	}
}
